import pandas as pd
list = [[110,120,105],[95,110,108],[98,80,100],[112,106,97]]
index = ['王蒙','李珊','赵胜','刘文']
columns = ['语文','数学','英语']
df = pd.DataFrame(list,index,columns)
print('所有值: \n',df.values)
print('数据类型:\n',df.dtypes)
print('行标签: \n',df.index)
print('列标签: \n',df.columns)
print('行列数据转换: \n',df.T)
print('前行数据，默认为5: \n',df.head(3))
print('后行数据，默认为5: \n',df.tail(1))
print('查看行数列数: \n',df.shape)
print('查看数据: \n',df.info)